Documentation additions
authorMatthias Clasen <matthiasc@src.gnome.org>
Tue, 2 Jan 2007 14:53:07 +0000 (14:53 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 2 Jan 2007 14:53:07 +0000 (14:53 +0000)
svn path=/trunk/; revision=17018

docs/reference/ChangeLog
docs/reference/gtk/tmpl/gtktextbuffer.sgml

index 5441be1507af12475c025c6ffce65e7faef36fd5..82d329c6c43993909e46baad78a1ba588f745fbf 100644 (file)
@@ -1,3 +1,8 @@
+2007-01-02  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/tmpl/gtktextbuffer.sgml: Document rich text
+       serialization functions.  (#347940, Murray Cumming)
+
 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/tmpl/gtkactiongroup.sgml: Document that action
index 5409d1af7115fb72c1f8f7d476f3d418ca83c930..f133daa6c9a0916c9ef17118c4e190699d8a0346 100644 (file)
@@ -771,19 +771,20 @@ types related to the text widget and how they work together.
 
 <!-- ##### USER_FUNCTION GtkTextBufferDeserializeFunc ##### -->
 <para>
-
+A function that is called to deserialize rich text that has been
+serialized with gtk_text_buffer_serialize(), and insert it at @iter.
 </para>
 
-@register_buffer: 
-@content_buffer: 
-@iter: 
-@data: 
-@length: 
-@create_tags: 
-@user_data: 
-@error: 
-@Returns: 
-
+@register_buffer: the #GtkTextBuffer the format is registered with
+@content_buffer: the #GtkTextBuffer to deserialize into
+@iter: insertion point for the deserialized text
+@data: data to deserialize
+@length: length of %data
+@create_tags: %TRUE if deserializing may create tags
+@user_data: user data that was specified when registering the format
+@error: return location for a #GError
+@Returns: %TRUE on success, %FALSE otherwise
 
 <!-- ##### FUNCTION gtk_text_buffer_deserialize ##### -->
 <para>
@@ -906,16 +907,18 @@ types related to the text widget and how they work together.
 
 <!-- ##### USER_FUNCTION GtkTextBufferSerializeFunc ##### -->
 <para>
-
+A function that is called to serialize the content of a text buffer.
+It must return the serialized form of the content.
 </para>
 
-@register_buffer: 
-@content_buffer: 
-@start: 
-@end: 
-@length: 
-@user_data: 
-@Returns: 
+@register_buffer: the #GtkTextBuffer for which the format is registered
+@content_buffer: the #GtkTextsBuffer to serialize
+@start: start of the block of text to serialize
+@end: end of the block of text to serialize
+@length: Return location for the length of the serialized data
+@user_data: user data that was specified when registering the format
+@Returns: a newly-allocated array of guint8 which contains the serialized
+          data, or %NULL if an error occurred
 
 
 <!-- ##### FUNCTION gtk_text_buffer_serialize ##### -->